Airwallex\Main B

Total Complexity 78
Dependencies 25
Dependents 6
Total lines 644
Lines of code 528
Logical lines of code 216
Comment lines 45
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
addJsLegacy()
B
28
12 180
handleStatusChangeForCard()
A
53 8 21
updateMerchantCountry()
S
54 6 21
createPages()
S
47 3 39
registerEvents()
S
47 3 34
registerCron()
S
57 4 18
noticeApiKeyMissing()
S
55 3 22
addDisplayPostStates()
S
62 4 10
modifyRequestsForLogging()
S
65 4 9
addPaymentGateways()
S
63 3 11
getMerchantCountry()
S
64 3 11
registerOrderStatus()
S
50 1 35
noticeExpressCheckoutDisabled()
S
57 2 19
excludePagesFromMenu()
S
62 3 10
updateMerchantCountryAfterSave()
S
70 3 6
woocommerceBlockSupport()
S
62 2 13
init()
S
56 1 21
getInstance()
S
71 2 6
disableGatewayOrderPay()
S
71 2 6
excludePagesFromList()
S
66 2 8
addPluginSettingsLink()
S
71 1 5
handleStatusChange()
S
80 1 3
checkPendingTransactions()
S
81 1 3
isJsLoggingActive()
S
77 1 3
getInstanceKey()
S
80 1 3
registerSettings()
S
80 1 3
registerExpressCheckoutButtons()
S
66 1 8